﻿<%@ Page Title="Core features" Language="C#" MasterPageFile="~/Demo.master" Inherits="DemoPage" %>

<%@ Register Src="~/CodeFormatter.ascx" TagName="Code" TagPrefix="demo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="DemoHolder" runat="Server">
    <div class="dna-state-help ui-corner-all" style="margin-bottom: 10px;">
        Enable any WebControl to be resizable. With the cursor grab the right or bottom
        border and drag to the desired width or height.
    </div>
    <br />
    <style type="text/css">
        .resizable { width: 150px; height: 150px; padding: 0.5em; }
        .resizable h3 { text-align: center; margin: 0; font-size: 10pt; height: 25px; }
    </style>
    <DotNetAge:CollapsablePanel ID="CollapsablePanel1" runat="server" Title="Resizable"
        Width="200" Height="100">
        <ContentTempalte>
            <p style="width: 150px; height: 100px; padding: 0.5em;">
                This is a CollapsablePanel Control enable resizable.</p>
        </ContentTempalte>
    </DotNetAge:CollapsablePanel>
    <%--   <asp:Panel ID="Panel1" runat="server" CssClass="ui-widget-content resizable">
        <h3 class="ui-state-active">
            Resizable</h3>
    </asp:Panel>--%>
    <DotNetAge:Resizable ID="Resizable1" runat="server">
        <Target TargetID="CollapsablePanel1>div" />
        <AlsoResize TargetID="CollapsablePanel1" />
    </DotNetAge:Resizable>
    <div style="clear: left;margin-top:80px;">
    </div>
    <br />
    <demo:Code runat="server" ID="codeView" SourceFile="~/Resizable/Codes/Core.aspx" />
</asp:Content>
